To display text field properties in the Property inspector, select a text field in a form. See also Forms overview.
Text field assigns a name to the field. Every text field must have a unique name.
Char Width sets the maximum number of characters that can be displayed in the field. This number can be less than Max Chars, which specifies the number of characters that can be entered in the field.
Max Chars/Num Lines sets the maximum number of characters that can be entered in the field for single-line text fields, and sets the height of the field for multiline text fields. Use Max Chars to limit zip codes to 5 digits, limit passwords to 10 characters, and so on.
Type designates the field as single-line, multiline, or password.
![]() |
Choosing single-line results in an INPUT tag with its TYPE attribute set to TEXT . The Char Width setting maps to the SIZE attribute, and the Max Chars setting maps to the MAXLENGTH attribute. |
![]() |
Choosing password results in an INPUT tag with its TYPE attribute set to PASSWORD . The Char Width and Max Chars settings map to the same attributes as in single-line text fields. When a user types in a password text field, the input appears as bullets or stars to protect it from being observed by others. |
![]() |
Choosing multiline results in a TEXTAREA tag. The Char Width setting maps to the COLS attribute, and the Num Lines setting maps to the ROWS attribute. |
Init Value assigns the value to display in the field when the form first loads.